/*
 * @Description: 环境变量
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2023-04-03
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2023-06-28
 */

/**
 * 判断是否开发环境
 * @returns
 */
export function isDevMode(): boolean {
  return import.meta.env.DEV
}

/**
 * 判断是否小程序web-view环境
 */
export const isMiniprogram = () => navigator.userAgent.includes('miniProgram')
